package org.example.auth.core.entity;

import org.example.system.common.bean.BaseEntity;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 账号信息表
 * </p>
 *
 * @author Joey
 * @since 2021-05-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="Account对象", description="账号信息表")
public class Account extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "账号名")
    @TableField("accountNum")
    private String accountNum;

    @ApiModelProperty(value = "账号密码")
    @TableField("accountPwd")
    private String accountPwd;

    @ApiModelProperty(value = "状态0=禁用1=启用")
    @TableField("statusId")
    private Integer statusId;
}
